# numbers是一个整数数组
# target是目标值
# 求数组中哪2个数相加的和等于目标值？
# 数组中的一个数只能使用一次
# 两个数可以用任意顺序返回

def two_sum(numbers, target):
    # 请在这里填写你的代码
    pass

# 因为2+7=9,所以答案应该是[0,1]或者[1,0]
numbers_1 = [2,7,11,15]
target_1 = 9
answer = two_sum(numbers_1, target_1)
print(answer)

# 答案应该是[1,2]或者[2,1]
numbers_2 = [3,2,4]
target_2 = 6
answer = two_sum(numbers_2, target_2)
print(answer)

# 答案应该是[0,2]或者[2,0]
numbers_3 = [5,6,5]
target_3 = 10
answer = two_sum(numbers_3, target_3)
print(answer)